home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / README.os2 < prev    next >
Text File  |  1991-09-04  |  2KB  |  84 lines

  1. This file includes instructions for building ICE on OS2 platforms.
  2.  
  3. 0. FTP COOL files to OS2 PS2.
  4.  
  5. 0.a. Make directories on OS2:
  6.  
  7.    From UNIX:
  8.  
  9.      cd ICE           # ICE here means the full pathname to the ice directory
  10.      util/os2dirs     # this creates an OS2 command which makes ICE directories
  11.      cd util
  12.      ftp blue         # or whatever your os/2 machine name is
  13.      ftp> cd \\user   
  14.      ftp> put os2dirs.cmd
  15.      ftp> bye
  16.  
  17.    From OS2:
  18.       cd \user
  19.       os2dirs.cmd
  20.  
  21. 0.b.  FTP ICE files to OS2:    
  22.     
  23.     From UNIX:
  24.       cd ICE
  25.       util/os2copy blue ssb  # substitute in os/2 machine name and user login 
  26.  
  27. 1. Bootstrap on OS2
  28.  
  29.    cd \ice
  30.    util\os2setup
  31.  
  32.    set path=\ice\bin;%path%
  33.  
  34.    cd \ice
  35.    pimake -Dos2 -DTOPDIR=\ice -DREV=1 -I\ice\cool\config
  36.    nmake bootstrap
  37.  
  38. 2. Build ICE
  39.  
  40. *************************************************************************
  41.    Note: ICE assumes Glockenspiel cfront 2.0 and Microsoft 6.0 with:
  42.      cl              the C compiler name
  43.      /c600/include   the C include directory name
  44.      ccxx            the C++ compiler
  45.      /cxx20/include  the C++ include directory name
  46.      cfxx            the C++ translator.
  47.      Lcxxce          the C++ library name
  48.      mxx         the C++ munch program
  49.      lib             the archive library command name.
  50.      link            the link command name.
  51.  
  52.    If this is wrong on your OS2 system you need to either 
  53.        copy the correct names to the names ICE requires ...
  54.    or  set environment variables:
  55.        CFRONTC (cfxx), MUNCHC (mxx) , LIBRARY (Lcxxce), LINKERC (link),
  56.        LIBC (lib), CC (cl).
  57.    or  edit files "ICE/cool/config/os2.cf" references
  58.        to "c600", "cxx20, "cl" and "ccxx";
  59.        and edit files "ICE/CCC/CCC.c and "ICE/CCC/config.h" references
  60.        to "cl" "cfxx" "mxx" "Lcxxce" "lib" and "link".
  61.  
  62.    Also in "ICE/CCC/config.h"  it assumes tmp directory name of "E:\\".
  63.    This can change by setting the environment variable, TMP.
  64.  
  65. *************************************************************************
  66.  
  67.    cd \ice
  68.    nmake clean clobber
  69.  
  70.    cd \ice\pisces
  71.    nmake all install
  72.  
  73.    cd \ice
  74.    nmake all runtest results
  75.  
  76. 3. DONE
  77.    ls \ice\bin
  78.    ls \ice\lib\os2
  79.  
  80. #To remake just cool:
  81.    rm \ice\lib\os2\libcool.lib
  82.    cd \ice\cool
  83.    nmake clean clobber includes all runtest results
  84.